Optimize prod browser output#85
Conversation
commit: |
b937c0e to
f776aad
Compare
Benchmark ResultsCompared PR head Reading benchmark confidenceRaw deltas are always shown. The signal label only indicates whether the observed median delta is larger than a robust run-to-run noise band; it does not erase or replace the measurement. The noise band is the larger of 2% or two combined robust standard deviations estimated from each side's relative median absolute deviation (rMAD). Fewer than three finite samples is reported as insufficient data. An inconclusive result should be rerun or investigated from the uploaded raw samples before drawing a performance conclusion.
Dev Rollup
Production Build BenchmarksRendered 7 production build benchmarks.
ci-small+ci-large Dev Fixture SummaryRendered 7 dev benchmark fixtures from the
large-355-ssr-esm Plugin Operations
synthetic-1024-ssr-esm Plugin Operations
synthetic-1024-ssr-esm-split Plugin Operations
synthetic-256-sourcemaps Plugin Operations
synthetic-256-ssr-esm Plugin Operations
synthetic-256-ssr-esm-split Plugin Operations
synthetic-48-ssr-esm Plugin Operations
Synthetic Rsbuild AppRendered 2 production build benchmarks.
Rendered 1 dev benchmark fixture from the embedded complex app.
Profile: |
Skip bundle stats on discarded warmup runs, gzip asynchronously off the event loop, reuse the read buffer's length instead of a second stat call, inline the single-consumer CI column and comparison-metric indirections, and drop the never-rendered totalGzipDeltaPercent field. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Avoid reporting zero bundle metrics when a successful measured build did not produce its expected output directory.
Summary
mangleExports: 'size',usedExports: 'global', and shorter async chunk filenames with[id]-[contenthash:16].Validation
pnpm test:core tests/index.test.ts tests/benchmark-fixture.test.tspnpm buildpnpm test:corepnpm bench:smokepnpm prettier --check src/index.ts tests/index.test.ts tests/benchmark-fixture.test.ts scripts/bench-builds.mts scripts/benchmark/results.mts scripts/compare-benchmarks.mts scripts/benchmark/ci-report-model.mjs scripts/benchmark/ci-report-markdown.mjsgit diff --checkNote: repo-wide
pnpm format:checkstill fails on pre-existing untouchedsrc/export-utils.tsformatting.